@import 'index';

.timeline-wrap{
  padding-left: 20px;
  padding-bottom: 2px;
}

.timeline{
  position: relative;
  padding-bottom: 20px;

  i{
  font-style: normal;
  }
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  height: 100%;
  border-left: 1px dashed #ccc;
}

.timeline-block {
  position: relative;
  margin: 1em 0 1em 1% ;
  //width: 95%;
  width: 80%;
}

.date-block{
  margin-left: -25px;
}

.date-content{
  position: relative;
  margin-left: 16px;
  border-radius: 0.25em;
  padding: 0.5em 0.8em;
  color: #3E3E3E;
}

.date-mark{
  position: absolute;
  top: 15px;
  left: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  z-index: 4;
  background-color: #39ADFF;
}

.timeline-content {
  position: relative;
  margin-left: 56px;
  background: white;
  border-radius: 0.25em;
  padding: 0.5em 0.8em;
  border: 1px solid #e0e0e0;

  p{
  color: #a7a7a7;
  font-size: 13px;
  }
}

.left{
  .timeline-img{
  top: 12px;
  left: -4px;
  }
}

.right{
  .timeline-img{
  top: 12px;
  right: -60px;
  }
}

.timeline-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 4;
  position: absolute;

  img{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  }
}

.timeline-content{
  .mark{
  float: left;
  font-size: 13px;
  font-weight: normal;
  border-radius: 4px;
  }
}

.date-ico{
  color:#bdbdbd;
  font-size: 12px;
  float: right;
  right: 0;
  line-height: 20px;
}

.timeline-content{
  h2{
  overflow: hidden;
  }
}



.left{
  .timeline-content::before {
  content: '';
  position: absolute;
  top: 24px;
  background-color: white;
  right: 96%;
  background-repeat: no-repeat;
  background-image:  url(@leftarraowurl);
  width: 47px;
  height: 30px;
  border-right: 1px solid white;
  transform: scale(0.6);
  margin: -10px;
  }
}

.right{
  .timeline-content::before {
  content: '';
  position: absolute;
  top: 26px;
  background-color: white;
  right: -28px;
  background-image:  url(@rightarraowurl);
  background-repeat: no-repeat;
  width: 47px;
  height: 30px;
  border-right: 1px solid white;
  transform: scale(0.6);
  margin: -10px;
  }
}

i.pull-right{
  font-size: 12px;
  color:#a7a7a7;
}
